package com.xiaoxu.rental.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoxu.rental.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author xtq
* @description 针对表【busi_order】的数据库操作Service
* @createDate 2024-07-26 08:47:27
*/
public interface OrderService extends IService<Order> {

    boolean insert(Order order);

    Page<Order> searchUnfinished(Page<Order> page, Order order);

    boolean returnAuto(Order order,Integer maintainMileage );

    Page<Order> search(Page<Order> page, Order order);


    //统计违章次数
    long countViolation(Integer autoId);
}
